package com.esri.core.tasks.na;

/* loaded from: classes.dex */
public enum NADistanceUnit {
    UNKNOWN("esriUnknownUnits"),
    CENTIMETERS("esriNAUCentimeters"),
    DECIMAL_DEGREES("esriNAUDecimalDegrees"),
    DECIMETERS("esriNAUDecimeters"),
    FEET("esriNAUFeet"),
    INCHES("esriNAUInches"),
    KILOMETERS("esriNAUKilometers"),
    METERS("esriNAUMeters"),
    MILES("esriNAUMiles"),
    MILLIMETERS("esriNAUMillimeters"),
    NAUTICAL_MILES("esriNAUNauticalMiles"),
    POINTS("esriNAUPoints"),
    YARDS("esriNAUYards"),
    SERVER_DEFAULT("default");
    
    String mType;

    NADistanceUnit(String str) {
        this.mType = str;
    }

    @Override // java.lang.Enum
    public String toString() {
        return this.mType;
    }

    public static NADistanceUnit get(String str) {
        NADistanceUnit[] values;
        for (NADistanceUnit nADistanceUnit : values()) {
            if (nADistanceUnit.mType.equals(str)) {
                return nADistanceUnit;
            }
        }
        return null;
    }
}
